<% for name in [:notice, :waring, :message] %>
  <% if flash[name] %>
    <div id="<%=h  "#{name}"%>" class="flash"><%=h "#{flash[name]}"%></div>
  <% end %>
<% end %>
<% form_tag session_path do -%>
  <p><label for="login">Login</label><br/>
  <%= text_field_tag 'login' %></p>

  <p><label for="password">Password</label><br/>
  <%= password_field_tag 'password' %></p>

  <!-- Uncomment this if you want this functionality
  <p><label for="remember_me">Remember me:</label>
  <%= check_box_tag 'remember_me' %></p>
  -->

  <p><%= submit_tag 'Log in' %></p>
<% end -%>
